﻿@model PagedResult<merch_dto>
@{ string site_img = ViewBag.img_url;}
@{
    if (Model.rows.Count > 0) {
        foreach (var item in Model.rows) {
            var src = site_img + item.logo_url;
            <a href="/Merchant/Merchant/?Id=@item.id">
                <img src="@src" class="merchant_ico">
                <span class="name">@item.merch_name</span>
            </a>
        }
    }

    <page rows="@Model.rows.Count()" total_result="@Model.total_result"></page>
}